<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
	String[] paramNames = request.getParameterValues("paramNames"); //额外参数名称
	String[] paramVals = request.getParameterValues("paramVals"); //额外参数值
	
	if(paramNames != null && paramVals != null 
			&& paramNames.length > 0 && paramVals.length > 0 && paramNames.length == paramVals.length) {
		StringBuilder sb = new StringBuilder();
		for(int i = 0; i < paramNames.length; i++) {
			sb.append("&").append(paramNames[i]).append("=").append(paramVals[i]);
		}
		if(sb.length() > 0) {
			request.setAttribute("extraParams", sb.toString());
		}
	}
%>

<html>
<head>
<title>showInfo</title>
</head>

<body>
	<iframe class="showInfoFrame" id="showInfoFrame" name="showInfoFrame"
		scrolling="auto" frameborder="0" width="${param.iframeWidth}" height="${param.iframeHeight}"
		src="${path}${param.action}?id=${param.id}&modulePath=${param.modulePath}&infoPage=${param.infoPage}&type=${param.type}${extraParams}"></iframe>
</body>
</html>
